using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Maticsoft.Web.Register.adminInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					string Administrator_ID= strid;
					ShowInfo(Administrator_ID);
				}
			}
		}
		
	private void ShowInfo(string Administrator_ID)
	{
		Maticsoft.BLL.Register.adminInfo bll=new Maticsoft.BLL.Register.adminInfo();
		Maticsoft.Model.Register.adminInfo model=bll.GetModel(Administrator_ID);
		this.lblAdministrator_ID.Text=model.Administrator_ID;
		this.lblAdministrator_Name.Text=model.Administrator_Name;
		this.lblAdministrator_Password.Text=model.Administrator_Password;
		this.lblAdministrator_Hosptial.Text=model.Administrator_Hosptial;
		this.lblAdministrator_AddTime.Text=model.Administrator_AddTime.ToString();
		this.lblAdministrator_Recoder.Text=model.Administrator_Recoder;
		this.lblAdministrator_LastRegTime.Text=model.Administrator_LastRegTime.ToString();

	}


    }
}
